gtkplacesviewrow: plural form for available space
authorCarlos Soriano <csoriano@gnome.org>
Tue, 15 Dec 2015 14:56:46 +0000 (15:56 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 15 Dec 2015 19:59:13 +0000 (14:59 -0500)
commit8858c3aaa0f1df899b533c61459f4f37e8928442
tree13e9ace690ebb02153fae5ecbab4c91e3142d38e
parent4eeeb5811d0b026bd55260666f5fc3236ad00479
gtkplacesviewrow: plural form for available space

We were not supporting plural form of the available space, which
is a problem in some languages.
However in this case is kind of a difficult matter, since we use a
formatted string from glib with g_format_size.

To fix it, use the same behavior as g_format_size to decide when
it should be used a plural form or not.

https://bugzilla.gnome.org/show_bug.cgi?id=759491
gtk/gtkplacesviewrow.c